# -*- coding: utf-8 -*- 

from ElementPlancheDeJeu import *


class Vehicule(ElementPlancheDeJeu):
    def __init__(self, pos, largeur):
        ElementPlancheDeJeu.__init__(self, pos, self.__class__.largeurUnite)
        

class Voiture(Vehicule):
    largeurUnite = 2
    pass
        
class Camion(Vehicule):
    largeurUnite = 3
    pass